package com.inspur.system.service;

import java.util.List;
import com.inspur.system.domain.PmDyn;
import com.inspur.system.dto.ProNumDTO;

/**
 * 动态Service接口
 * 
 * @author lihaodong
 * @date 2024-04-10
 */
public interface IPmDynService 
{
    /**
     * 查询动态
     * 
     * @param cDynNo 动态主键
     * @return 动态
     */
    public PmDyn selectPmDynByCDynNo(Long cDynNo);

    /**
     * 查询动态
     *
     * @param pmDyn
     * @return 动态
     */
    public List<PmDyn> selectPmDynByCPmNo(PmDyn pmDyn);

    /**
     * 查询动态列表
     * 
     * @param pmDyn 动态
     * @return 动态集合
     */
    public List<PmDyn> selectPmDynList(PmDyn pmDyn);

    /**
     * 新增动态
     * 
     * @param pmDyn 动态
     * @return 结果
     */
    public int insertPmDyn(PmDyn pmDyn);

    /**
     * 修改动态
     * 
     * @param pmDyn 动态
     * @return 结果
     */
    public int updatePmDyn(PmDyn pmDyn);

    /**
     * 批量删除动态
     * 
     * @param cDynNos 需要删除的动态主键集合
     * @return 结果
     */
    public int deletePmDynByCDynNos(Long[] cDynNos);

    /**
     * 删除动态信息
     * 
     * @param cDynNo 动态主键
     * @return 结果
     */
    public int deletePmDynByCDynNo(Long cDynNo);

    public ProNumDTO selectPmDynNum(String cPmNo);
}
